<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>-</title>
	<link rel="stylesheet" href='<c:url value="/resources/css/main.css"/>' type="text/css" />
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/default/easyui.css"/>'/>
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/icon.css"/>'/>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery-1.4.4.min.js"/>'></script>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery.easyui.min.js"/>'></script>
	<script type="text/javascript">
	$(function(){
		$('#entityTree').tree({
			checkbox: false,
			url: '<c:url value="/admin/entity/tree"/>'+'?entityType=${entityType}',
			onClick:function(node){
				//$(this).tree('toggle', node.target);
				//contentWindow.location.href = node.attributes.url;
			},
			onLoadSuccess:function(node, data) {
				//addLoadedNode(node);
				//alert(node);
			}
		});
	});
	</script>
</head>
<body id="jive-body" class="easyui-layout">
	<div id="tree" region="west" border="false" style="width:270px;">
		<ul id="entityTree"></ul>
	</div>
	<div region="center" split="true" border="false" style="overflow-x:hidden;overflow-y:hidden">
		<iframe name="contentWindowWindow" frameborder="0" border="0" 
			marginWidth="0" marginHeight="0" src='<c:url value="/blank"/>' 
			style="width:100%;height:100%;border:0px;background-color:white; "></iframe>
	</div>
</body>
</html>